﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model
{
    /// <summary>
    /// 门店
    /// </summary>
    public class ShopModel
    {
        [Key]
        public int Id { get; set; }
        /// <summary>
        /// 门店名称
        /// </summary>
        public string? ShopName { get; set; }
        /// <summary>
        /// 门店地址
        /// </summary>
        public string? Addres { get; set; }
        /// <summary>
        /// 门店图片
        /// </summary>
        public string? Photo { get; set; }

        /// <summary>
        /// 门店
        /// </summary>
        public string? PhotoLog { get; set; }
        /// <summary>
        /// 服务范围
        /// </summary>
        public int Scope{ get; set; }
        /// <summary>
        /// 店主
        /// </summary>
        public string? UserName { get; set; }
        /// <summary>
        /// 门店介绍
        /// </summary>
        public string? ShopDesc { get; set; }
        /// <summary>
        /// 门店状态
        /// </summary>
        public int State { get;set; }
        /// <summary>
        /// 门店电话
        /// </summary>
        public string? Phone { get;set; }
        /// <summary>
        /// 营业时间 开始时间
        /// </summary>
        public DateTime? Business { get; set; }
        /// <summary>
        /// 营业时间 结束时间
        /// </summary>
        public DateTime? Engtime { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>

        public DateTime? Createdtime { get; set;}=DateTime.Now;
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? Updatedtime { get;set; }=DateTime.Now;
        /// <summary>
        /// 逻辑删除
        /// </summary>
        public bool IdDelete { get; set; }=false;
    }
}
